preemptive model meaning in Chinese
抢先模型
Examples
- Under the preemptive model , as you learned earlier , threads can be interrupted in the middle of any section of code , except for an atomic block of code
正如前面所提到的,在抢占式模型中线程可以在代码的任何一个部分的中间被打断,除非那是一个原子操作代码块。 - Alternatively , the java virtual machine can manage thread movement - under either a cooperative or preemptive model - from a ready queue onto the processor , where the thread can begin executing its program code
同样, java虚拟机( jvm )也可以控制线程的移动在协作或抢先模型中从准备就绪队列中将进程移到处理器中,于是该线程就可以开始执行它的程序代码。